﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Web.backStage
{
    public partial class addPost : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Dictionary<int, string> post = new Dictionary<int, string>();
            int i = 0;
            post.Add(i++, TextBox1.Text);
            post.Add(i++, TextBox2.Text);
            post.Add(i++, TextBox3.Text);
            Boolean flag = BLL.backStage.PostManager.addPost(post);
        }
    }
}